<? 
    session_start();
	include ("../core/conn.php");
	global $db;	
	$db = get_conn();
	
	if($_GET['id'] != ''){
		$js ="onchange='show_cantones(this.value)'";
		$sql ="select id_provincia as myvalue, nombre as mydesc from provincia where id_pais=".$_GET['id']." order by nombre";
		$extra = "<option value=''>Seleccione la provincia</option>";
		echo dbcombosql($sql,"provincia",$_GET['id_provincia'],$js,$extra);
	}
?>